
import { SETUSERINFO,SETAUTH, HANDLELOGOUT } from '../actionTypes/user'
export const setUserInfo = (userInfo) => ({
  type: SETUSERINFO,
  payload: userInfo
})
export const setAuth = (token) => ({
  type: SETAUTH,
  payload: token
})
export const handleLogout = () => ({
  type: HANDLELOGOUT,
})